package com.service.impl;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.entity.User;
import com.dao.UserMapper;
import com.service.IUserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author zgg
 * @since 2021-08-24
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements IUserService {

    @Override
    public User selectUserByName(String name) {
        return baseMapper.selectUserByName(name);
    }
}
